package com.baidu.user.domain;

import java.util.Scanner;

/**
 * @author 李新雨的项目86176
 * @version 1.0
 * @date 2024-07-08 13:03
 */
public class Lian3 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int num = sc.nextInt();
        int count=0;
        while (num!=0){
            num/=10;
            count++;
            if(num==0){
                System.out.println(count);break;
            }

        }
    sc.close();


    }
}
